FC=gfortran
TARGET=iri

all:iri

iri: iritest.o cira.o igrf.o iridreg.o iriflip.o irifun.o irisub.o iritec.o
	$(FC) -o iri iritest.o cira.o igrf.o iridreg.o iriflip.o irifun.o irisub.o iritec.o

%.o: %.for
	$(FC) -c *.for

clean:
	rm -rf *.o iri

